<?php
/**
 * Form for adding and editing address
 */
class Location_Form_Category extends App_Form_FormAbstract
{
    /**
     * @see    Zend_Form::init()
     * @return void
     */
    public function init()
    {
        $this->setOptions(array(
            'method' => 'post',
            'elements' => array(
                'id' => array('hidden'),
                'title' => array('text', array(
                    'label'    => 'Titre',
                    'required' => true,
                    //TODO : ajouter un filtre 'filters'  => array('StringTrim')
                )),              
                'submit' => array('submit', array(
                    'label' => 'Enregistrer'
                ))
            )
        ));
    }
}
